package com.puti.doctor.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 系统管理-医院-科室 系统管理-医院-科室对象 system_hospital_dept
 * 
 * @author puti
 * @date 2021-04-26
 */
public class SystemHospitalDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科室编号 */
    private Long deptId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String deptName;

    /** 科室医师人数 */
    @Excel(name = "科室医师人数")
    private Long deptDoctors;

    /** 好评度 */
    @Excel(name = "好评度")
    private BigDecimal deptPraise;

    /** 问诊次数 */
    @Excel(name = "问诊次数")
    private Long deptConsultation;

    /** 医院编号 */
    @Excel(name = "医院编号")
    private Long deptHospitalId;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    private Long revision;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setDeptDoctors(Long deptDoctors) 
    {
        this.deptDoctors = deptDoctors;
    }

    public Long getDeptDoctors() 
    {
        return deptDoctors;
    }
    public void setDeptPraise(BigDecimal deptPraise) 
    {
        this.deptPraise = deptPraise;
    }

    public BigDecimal getDeptPraise() 
    {
        return deptPraise;
    }
    public void setDeptConsultation(Long deptConsultation) 
    {
        this.deptConsultation = deptConsultation;
    }

    public Long getDeptConsultation() 
    {
        return deptConsultation;
    }
    public void setDeptHospitalId(Long deptHospitalId) 
    {
        this.deptHospitalId = deptHospitalId;
    }

    public Long getDeptHospitalId() 
    {
        return deptHospitalId;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("deptDoctors", getDeptDoctors())
            .append("deptPraise", getDeptPraise())
            .append("deptConsultation", getDeptConsultation())
            .append("deptHospitalId", getDeptHospitalId())
            .append("revision", getRevision())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
